package com.jack.Extends;

public class People {
    //定义成员变量
    private String name;
    private int age;
    private char sex;

    //定义无参构造器
    People(){

    }
    //定义有参构造器
    People(String name,int age,char sex){
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge(){
        return age;
    }

    public void setAge(int age ){
        this.age = age;
    }

    public char getSex(){
        return sex;
    }

    public void setSex(char sex ){
        this.sex = sex;
    }

    public void show() {
    }

}
